package com.example.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
@TableName("t_compensate")
public class Compensate implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "compensate_id", type = IdType.AUTO)
      private Integer compensateId;

    private String bookNum;

    private String account;

    private String compensateTime;

    private String picture;

    private Integer compensateState;

    private String reason;

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getCompensateId() {
        return compensateId;
    }

      public void setCompensateId(Integer compensateId) {
          this.compensateId = compensateId;
      }
    
    public String getBookNum() {
        return bookNum;
    }

      public void setBookNum(String bookNum) {
          this.bookNum = bookNum;
      }
    
    public String getAccount() {
        return account;
    }

      public void setAccount(String account) {
          this.account = account;
      }

    public String getCompensateTime() {
        return compensateTime;
    }

    public void setCompensateTime(String compensateTime) {
        this.compensateTime = compensateTime;
    }

    public String getPicture() {
        return picture;
    }

      public void setPicture(String picture) {
          this.picture = picture;
      }
    
    public Integer getCompensateState() {
        return compensateState;
    }

      public void setCompensateState(Integer compensateState) {
          this.compensateState = compensateState;
      }

    @Override
    public String toString() {
        return "Compensate{" +
              "compensateId=" + compensateId +
                  ", bookNum=" + bookNum +
                  ", account=" + account +
                  ", compensateTime=" + compensateTime +
                  ", picture=" + picture +
                  ", compensateState=" + compensateState +
                ", reason=" + reason +
              "}";
    }
}
